//
//  DKContentContainerVC.h
//  Whistle
//
//  Created by ZhangAo on 16/5/26.
//  Copyright © 2016年 BookSir. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DKContentContainerProtocol.h"

@interface DKContentContainerVC : UIViewController

// ViewController的间隔, 默认为20, 需在addChildViewControllers:方法前设置
@property (nonatomic, assign) CGFloat viewControllerInterval;

@property (nonatomic, strong) UIView *headerView;
@property (nonatomic, strong) UIView *footerView;

@property (nonatomic, assign) UIEdgeInsets scrollIndicatorInsets;
@property (nonatomic, assign) UIScrollViewKeyboardDismissMode keyboardDismissMode;
@property (nonatomic, assign) UIEdgeInsets contentInset;
@property (nonatomic, assign) CGPoint contentOffset;
@property (nonatomic, assign) CGSize contentSize;

/**
 *  viewController 必须实现 DKContentContainerProtocol
 */
- (void)addChildViewControllers:(NSArray<UIViewController *> *)viewControllers;

- (void)insertChildVC:(UIViewController *)vc;

- (void)removeChildVC:(UIViewController *)vc;

- (void)removeAllChildrenVC;

@end
